<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: Edge Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1graph_1_1_edge.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Edge Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge. ">Edge</a>.  
 <a href="classarm__compute_1_1graph_1_1_edge.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_edge_8h_source.xhtml">Edge.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad509007a40c162c72383ed29620e25ca"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ad509007a40c162c72383ed29620e25ca">Edge</a> (<a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a> <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ae5a397708c4c9e0d6d935c5def129cd5">id</a>, <a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a6d7e4dd9d058b6e486b6b2c56153fb2a">producer</a>, unsigned int <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aa3017d0ec14d1b47c6b3656ccbcee99d">producer_idx</a>, <a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ab2001ac9d8d93166c8b8717fadf120cc">consumer</a>, unsigned int <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a03f0ccde3f7489e8ebacd2aec7278603">consumer_idx</a>, <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">tensor</a>)</td></tr>
<tr class="memdesc:ad509007a40c162c72383ed29620e25ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="#ad509007a40c162c72383ed29620e25ca">More...</a><br /></td></tr>
<tr class="separator:ad509007a40c162c72383ed29620e25ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5a397708c4c9e0d6d935c5def129cd5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ae5a397708c4c9e0d6d935c5def129cd5">id</a> () const </td></tr>
<tr class="memdesc:ae5a397708c4c9e0d6d935c5def129cd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns edge id.  <a href="#ae5a397708c4c9e0d6d935c5def129cd5">More...</a><br /></td></tr>
<tr class="separator:ae5a397708c4c9e0d6d935c5def129cd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1406bd3d2033837af2a47831a5304328"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a1406bd3d2033837af2a47831a5304328">producer_id</a> () const </td></tr>
<tr class="memdesc:a1406bd3d2033837af2a47831a5304328"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns producer node id.  <a href="#a1406bd3d2033837af2a47831a5304328">More...</a><br /></td></tr>
<tr class="separator:a1406bd3d2033837af2a47831a5304328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e85e821d1999985fd3996cec10ff94f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a7e85e821d1999985fd3996cec10ff94f">consumer_id</a> () const </td></tr>
<tr class="memdesc:a7e85e821d1999985fd3996cec10ff94f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns sink node id.  <a href="#a7e85e821d1999985fd3996cec10ff94f">More...</a><br /></td></tr>
<tr class="separator:a7e85e821d1999985fd3996cec10ff94f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d7e4dd9d058b6e486b6b2c56153fb2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a6d7e4dd9d058b6e486b6b2c56153fb2a">producer</a> () const </td></tr>
<tr class="memdesc:a6d7e4dd9d058b6e486b6b2c56153fb2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns producer node.  <a href="#a6d7e4dd9d058b6e486b6b2c56153fb2a">More...</a><br /></td></tr>
<tr class="separator:a6d7e4dd9d058b6e486b6b2c56153fb2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2001ac9d8d93166c8b8717fadf120cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ab2001ac9d8d93166c8b8717fadf120cc">consumer</a> () const </td></tr>
<tr class="memdesc:ab2001ac9d8d93166c8b8717fadf120cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns consumer node.  <a href="#ab2001ac9d8d93166c8b8717fadf120cc">More...</a><br /></td></tr>
<tr class="separator:ab2001ac9d8d93166c8b8717fadf120cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3017d0ec14d1b47c6b3656ccbcee99d"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aa3017d0ec14d1b47c6b3656ccbcee99d">producer_idx</a> () const </td></tr>
<tr class="memdesc:aa3017d0ec14d1b47c6b3656ccbcee99d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the output that produces the result in the producer node.  <a href="#aa3017d0ec14d1b47c6b3656ccbcee99d">More...</a><br /></td></tr>
<tr class="separator:aa3017d0ec14d1b47c6b3656ccbcee99d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03f0ccde3f7489e8ebacd2aec7278603"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a03f0ccde3f7489e8ebacd2aec7278603">consumer_idx</a> () const </td></tr>
<tr class="memdesc:a03f0ccde3f7489e8ebacd2aec7278603"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the input that consumes the result in the consumer node.  <a href="#a03f0ccde3f7489e8ebacd2aec7278603">More...</a><br /></td></tr>
<tr class="separator:a03f0ccde3f7489e8ebacd2aec7278603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9a23801bcfa1bf96bb3725fd06fd860"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">tensor</a> () const </td></tr>
<tr class="memdesc:af9a23801bcfa1bf96bb3725fd06fd860"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tensor associated with this edge.  <a href="#af9a23801bcfa1bf96bb3725fd06fd860">More...</a><br /></td></tr>
<tr class="separator:af9a23801bcfa1bf96bb3725fd06fd860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa930e4c448bd3e60f4ef41f98424238b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a615af95e19b5d9f74d2760183566a9a3">TensorID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aa930e4c448bd3e60f4ef41f98424238b">tensor_id</a> () const </td></tr>
<tr class="memdesc:aa930e4c448bd3e60f4ef41f98424238b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tensor id associated with this edge.  <a href="#aa930e4c448bd3e60f4ef41f98424238b">More...</a><br /></td></tr>
<tr class="separator:aa930e4c448bd3e60f4ef41f98424238b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4dfdb91786eda8e0c3b532809a2c5d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aa4dfdb91786eda8e0c3b532809a2c5d9">update_bound_tensor</a> (<a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">tensor</a>)</td></tr>
<tr class="memdesc:aa4dfdb91786eda8e0c3b532809a2c5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bind the edge to another tensor.  <a href="#aa4dfdb91786eda8e0c3b532809a2c5d9">More...</a><br /></td></tr>
<tr class="separator:aa4dfdb91786eda8e0c3b532809a2c5d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:afab89afd724f1b07b1aaad6bdc61c47a"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#afab89afd724f1b07b1aaad6bdc61c47a">Graph</a></td></tr>
<tr class="separator:afab89afd724f1b07b1aaad6bdc61c47a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class. ">Graph</a> <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge. ">Edge</a>. </p>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad509007a40c162c72383ed29620e25ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml">Edge</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a>&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td>
          <td class="paramname"><em>producer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>producer_idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td>
          <td class="paramname"><em>consumer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>consumer_idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *&#160;</td>
          <td class="paramname"><em>tensor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge. ">Edge</a> id </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">producer</td><td>Producer node id </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">producer_idx</td><td>Producer node output index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">consumer</td><td>Consumer node id </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">consumer_idx</td><td>Consumer node input index </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> associated with the edge </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00051">51</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        : _id(<span class="keywordtype">id</span>), _producer(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#a6d7e4dd9d058b6e486b6b2c56153fb2a">producer</a>), _consumer(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#ab2001ac9d8d93166c8b8717fadf120cc">consumer</a>), _producer_idx(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#aa3017d0ec14d1b47c6b3656ccbcee99d">producer_idx</a>), _consumer_idx(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#a03f0ccde3f7489e8ebacd2aec7278603">consumer_idx</a>), _tensor(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">tensor</a>)</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    {</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_af9a23801bcfa1bf96bb3725fd06fd860"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">arm_compute::graph::Edge::tensor</a></div><div class="ttdeci">Tensor * tensor() const </div><div class="ttdoc">Returns the tensor associated with this edge. </div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00116">Edge.h:116</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_aa3017d0ec14d1b47c6b3656ccbcee99d"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#aa3017d0ec14d1b47c6b3656ccbcee99d">arm_compute::graph::Edge::producer_idx</a></div><div class="ttdeci">unsigned int producer_idx() const </div><div class="ttdoc">Returns the index of the output that produces the result in the producer node. </div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00100">Edge.h:100</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_a03f0ccde3f7489e8ebacd2aec7278603"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#a03f0ccde3f7489e8ebacd2aec7278603">arm_compute::graph::Edge::consumer_idx</a></div><div class="ttdeci">unsigned int consumer_idx() const </div><div class="ttdoc">Returns the index of the input that consumes the result in the consumer node. </div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00108">Edge.h:108</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_a6d7e4dd9d058b6e486b6b2c56153fb2a"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#a6d7e4dd9d058b6e486b6b2c56153fb2a">arm_compute::graph::Edge::producer</a></div><div class="ttdeci">INode * producer() const </div><div class="ttdoc">Returns producer node. </div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00084">Edge.h:84</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_ab2001ac9d8d93166c8b8717fadf120cc"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#ab2001ac9d8d93166c8b8717fadf120cc">arm_compute::graph::Edge::consumer</a></div><div class="ttdeci">INode * consumer() const </div><div class="ttdoc">Returns consumer node. </div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00092">Edge.h:92</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab2001ac9d8d93166c8b8717fadf120cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a>* consumer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns consumer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Consumer node </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00092">92</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>

<p>Referenced by <a class="el" href="_b_f_s_8h_source.xhtml#l00077">arm_compute::graph::bfs()</a>.</p>
<div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="keywordflow">return</span> _consumer;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a7e85e821d1999985fd3996cec10ff94f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> consumer_id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns sink node id. </p>
<dl class="section return"><dt>Returns</dt><dd>Sink node id </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00076">76</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>

<p>References <a class="el" href="arm__compute_2graph_2_types_8h_source.xhtml#l00067">arm_compute::graph::EmptyNodeID</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#ac2073f3ae2a49f98a91315ed035f8669">INode::id()</a>.</p>

<p>Referenced by <a class="el" href="_b_f_s_8h_source.xhtml#l00077">arm_compute::graph::bfs()</a>.</p>
<div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="keywordflow">return</span> (_consumer == <span class="keyword">nullptr</span>) ? <a class="code" href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">EmptyNodeID</a> : _consumer-&gt;<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#ac2073f3ae2a49f98a91315ed035f8669">id</a>();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml_ac2073f3ae2a49f98a91315ed035f8669"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml#ac2073f3ae2a49f98a91315ed035f8669">arm_compute::graph::INode::id</a></div><div class="ttdeci">NodeID id() const </div><div class="ttdoc">Returns node&amp;#39;s ID. </div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aad3f5296ec88b9d552c109b04b89ad9f"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">arm_compute::graph::EmptyNodeID</a></div><div class="ttdeci">constexpr NodeID EmptyNodeID</div><div class="ttdoc">Constant EdgeID specifying an equivalent of null edge. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00067">Types.h:67</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a03f0ccde3f7489e8ebacd2aec7278603"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int consumer_idx </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index of the input that consumes the result in the consumer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Consumer node input index </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00108">108</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    {</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordflow">return</span> _consumer_idx;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ae5a397708c4c9e0d6d935c5def129cd5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a> id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns edge id. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge. ">Edge</a> id </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00060">60</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    {</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="keywordflow">return</span> _id;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a6d7e4dd9d058b6e486b6b2c56153fb2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a>* producer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns producer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Producer node </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00084">84</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>

<p>Referenced by <a class="el" href="_b_f_s_8h_source.xhtml#l00045">arm_compute::graph::detail::all_inputs_are_visited()</a>.</p>
<div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    {</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keywordflow">return</span> _producer;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1406bd3d2033837af2a47831a5304328"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> producer_id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns producer node id. </p>
<dl class="section return"><dt>Returns</dt><dd>Producer node id </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00068">68</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>

<p>References <a class="el" href="arm__compute_2graph_2_types_8h_source.xhtml#l00067">arm_compute::graph::EmptyNodeID</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml#ac2073f3ae2a49f98a91315ed035f8669">INode::id()</a>.</p>

<p>Referenced by <a class="el" href="_b_f_s_8h_source.xhtml#l00045">arm_compute::graph::detail::all_inputs_are_visited()</a>.</p>
<div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keywordflow">return</span> (_producer == <span class="keyword">nullptr</span>) ? <a class="code" href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">EmptyNodeID</a> : _producer-&gt;<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#ac2073f3ae2a49f98a91315ed035f8669">id</a>();</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml_ac2073f3ae2a49f98a91315ed035f8669"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml#ac2073f3ae2a49f98a91315ed035f8669">arm_compute::graph::INode::id</a></div><div class="ttdeci">NodeID id() const </div><div class="ttdoc">Returns node&amp;#39;s ID. </div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aad3f5296ec88b9d552c109b04b89ad9f"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">arm_compute::graph::EmptyNodeID</a></div><div class="ttdeci">constexpr NodeID EmptyNodeID</div><div class="ttdoc">Constant EdgeID specifying an equivalent of null edge. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00067">Types.h:67</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa3017d0ec14d1b47c6b3656ccbcee99d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int producer_idx </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the index of the output that produces the result in the producer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Producer node output index </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00100">100</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    {</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">return</span> _producer_idx;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af9a23801bcfa1bf96bb3725fd06fd860"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a>* tensor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the tensor associated with this edge. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> id </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00116">116</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    {</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <span class="keywordflow">return</span> _tensor;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa930e4c448bd3e60f4ef41f98424238b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a615af95e19b5d9f74d2760183566a9a3">TensorID</a> tensor_id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the tensor id associated with this edge. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> id </dd></dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00124">124</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>

<p>References <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a9746a32d2b9577d7e063077cb5ceda8f">Tensor::id()</a>, and <a class="el" href="arm__compute_2graph_2_types_8h_source.xhtml#l00065">arm_compute::graph::NullTensorID</a>.</p>
<div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    {</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">return</span> (_tensor == <span class="keyword">nullptr</span>) ? <a class="code" href="namespacearm__compute_1_1graph.xhtml#aa94938a3eb11fda4724c362c53c28f24">NullTensorID</a> : _tensor-&gt;<a class="code" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a9746a32d2b9577d7e063077cb5ceda8f">id</a>();</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_tensor_xhtml_a9746a32d2b9577d7e063077cb5ceda8f"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_tensor.xhtml#a9746a32d2b9577d7e063077cb5ceda8f">arm_compute::graph::Tensor::id</a></div><div class="ttdeci">TensorID id() const </div><div class="ttdoc">Tensor ID accessor. </div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aa94938a3eb11fda4724c362c53c28f24"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aa94938a3eb11fda4724c362c53c28f24">arm_compute::graph::NullTensorID</a></div><div class="ttdeci">constexpr TensorID NullTensorID</div><div class="ttdoc">Constant NodeID specifying an equivalent of null node. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00065">Types.h:65</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa4dfdb91786eda8e0c3b532809a2c5d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void update_bound_tensor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *&#160;</td>
          <td class="paramname"><em>tensor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bind the edge to another tensor. </p>
<dl class="section note"><dt>Note</dt><dd>If tensor is nullptr then nothing happens</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object. ">Tensor</a> to bind the edge to </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00134">134</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    {</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        _tensor = (<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">tensor</a> != <span class="keyword">nullptr</span>) ? <a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">tensor</a> : _tensor;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_af9a23801bcfa1bf96bb3725fd06fd860"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#af9a23801bcfa1bf96bb3725fd06fd860">arm_compute::graph::Edge::tensor</a></div><div class="ttdeci">Tensor * tensor() const </div><div class="ttdoc">Returns the tensor associated with this edge. </div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00116">Edge.h:116</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="afab89afd724f1b07b1aaad6bdc61c47a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_edge_8h_source.xhtml#l00140">140</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/graph/<a class="el" href="_edge_8h_source.xhtml">Edge.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1graph.xhtml">graph</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml">Edge</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:43 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
